syntax = "proto3";

package kuma.mesh.v1alpha1;

option go_package = "github.com/kumahq/kuma/api/mesh/v1alpha1";

import "api/mesh/options.proto";
import "api/mesh/v1alpha1/dataplane_insight.proto";

// ZoneIngressInsight defines the observed state of a Zone Ingress.
message ZoneIngressInsight {

  option (kuma.mesh.resource).name = "ZoneIngressInsightResource";
  option (kuma.mesh.resource).type = "ZoneIngressInsight";
  option (kuma.mesh.resource).package = "mesh";
  option (kuma.mesh.resource).global = true;
  option (kuma.mesh.resource).kds.send_to_global = true;
  option (kuma.mesh.resource).ws.name = "zone-ingress-insight";
  option (kuma.mesh.resource).ws.read_only = true;
  option (kuma.mesh.resource).scope_namespace = true;

  // List of ADS subscriptions created by a given Zone Kuma CP.
  repeated DiscoverySubscription subscriptions = 1;
}
